<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id ID
 * @property string $target_url 远端地址
 * @property string $local_url 本地地址
 * @property string $fileext 扩展名
 * @property int $filesize 文件大小
 * @property int $add_time 添加时间
 */
class SyncFile extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'sync_files';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'target_url', 'local_url', 'fileext', 'filesize', 'add_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'filesize' => 'integer', 'add_time' => 'integer'];
}
